﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// Invalid token. Token has been deauthorized by user.
	/// You must re-request authorization.
	/// </summary>
	public class InvalidToken : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.InvalidToken class.
		/// </summary>
		public InvalidToken(Exception innerException)
			: base(16, innerException, "Invalid token. Token has been deauthorized by user. You must re-request authorization.")
		{
		}
	}
}
